package com.ed.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ed.domain.Hama;
import com.ed.dto.AnswerQDTO;
import com.ed.dto.SubmitDto;
import com.ed.vo.QuesVO;

import java.util.List;

public interface IHamaQuestionService extends IService<Hama> {
    void AddHama(Hama hama);

    void DeleteHama(Integer id);

    void UpdateHama(Hama hama);

    QuesVO getHama(Integer id);

    List<QuesVO> getHamas();

    Integer calculateScore(SubmitDto answerQDTOS);
}
